package com.prs.crm.action.ca.work;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.courser.struts.BaseAction;
import org.courser.ui.PaginationSupport;
import org.hibernate.criterion.DetachedCriteria;

import com.prs.crm.domain.ca.work.ProcureStore;
import com.prs.crm.domain.ca.work.Storeparticular;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.report.ExportConfig;
import com.prs.crm.report.ReportCell;
import com.prs.crm.report.ReportTable;
import com.prs.crm.service.ca.work.ProcureStoreService;
import com.prs.crm.service.ca.work.StoreParticularService;
/**
 * @author YangHao
 * @E-Mail:450098606@qq.com
 * @qq:450098606
 * @version 创建时间：2012-4-16 10:34:55 入库明细
 */
public class StoreParticularAction extends BaseAction{

	
	private static final long serialVersionUID = -440792061753864679L;
	private Storeparticular storeParticular;
	private StoreParticularService storePaticularService;
	private ProcureStore procureStores;
	private ProcureStoreService procureStoreService;
	private PaginationSupport paginationSupport;
	public ProcureStore getProcureStores() {
		return procureStores;
	}
	
	public Storeparticular getStoreParticular() {
		return storeParticular;
	}

	public void setStoreParticular(Storeparticular storeParticular) {
		this.storeParticular = storeParticular;
	}

	public StoreParticularService getStorePaticularService() {
		return storePaticularService;
	}

	public void setStorePaticularService(
			StoreParticularService storePaticularService) {
		this.storePaticularService = storePaticularService;
	}

	public void setProcureStores(ProcureStore procureStores) {
		this.procureStores = procureStores;
	}
	public ProcureStoreService getProcureStoreService() {
		return procureStoreService;
	}
	public void setProcureStoreService(ProcureStoreService procureStoreService) {
		this.procureStoreService = procureStoreService;
	}


public PaginationSupport getPaginationSupport() {
		return paginationSupport;
	}
	public void setPaginationSupport(PaginationSupport paginationSupport) {
		this.paginationSupport = paginationSupport;
	}
	
//	@Action("listStoreParticular")
//	public String listStoreParticular(){
//		DetachedCriteria criteria=this.getPaginationHelper().createQuery(Storeparticular.class);
//		paginationSupport=this.getPaginationHelper().prepare(paginationSupport);
//		this.setPaginationSupport(this.getStorePaticularService().listByPage(criteria, paginationSupport));
//		return SUCCESS;
//	}
	
//	@Action("listStoreParticular")
//	public String listStorePaticular(){
//		DetachedCriteria criteria=this.getPaginationHelper().createQuery(ProcureStore.class);
//		paginationSupport=this.getPaginationHelper().prepare(paginationSupport);
//		this.setPaginationSupport(this.getProcureStoreService().listByPage(criteria, paginationSupport));
//		return SUCCESS;
//	}
}
